package com.ruoyi.contract.service.impl;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ruoyi.common.annotation.CompanyScope;

import com.ruoyi.contract.domain.VCtmsClient;
import com.ruoyi.contract.mapper.VCtmsClientMapper;
import com.ruoyi.contract.service.VCtmsClientService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by 86183 on 2023-06-26.
 */
@Service
public class VCtmsClientServiceImpl extends ServiceImpl<VCtmsClientMapper, VCtmsClient> implements VCtmsClientService {

    @CompanyScope
    @Override
    public VCtmsClient getVCtmsClientByCustomerGkey(Wrapper<VCtmsClient> queryWrapper) {
        VCtmsClient vCtmsClient = this.getOne(queryWrapper);
        return vCtmsClient;
    }

    @CompanyScope
    @Override
    public List<VCtmsClient> getlist(Wrapper<VCtmsClient> queryWrapper) {
        List<VCtmsClient> vCtmsClientList=this.list(queryWrapper);
        return vCtmsClientList;
    }


}
